package com.itheima.service;

import com.itheima.bean.Student;
import com.itheima.dao.StudentMapper;
import com.itheima.dao.impl.StudentImpl;


import java.util.List;

public class StudentService {

    private final StudentMapper studentMapper = new StudentImpl();

    //查找全部学生
    public List<Student> selectAll() {
        return studentMapper.selectAll();
    }
}
